
#ifndef LABELLAYERPANEL_H
#define LABELLAYERPANEL_H

#include <BLineEdit>
#include <BSpinBox>
#include <BGroupBox>
#include <BComboBox>
#include <BCheckBox>
#include <BTextEdit>
#include <BLongSpinBox>
#include <BLabel>

#include "AlignWidget.h"

class LabelLayerPanel : public BGroupBox
{
	BOBJECT(LabelLayerPanel)
public:
	LabelLayerPanel(BWidget* parent = 0);
	~LabelLayerPanel();

protected:
	void slotAssetChanged(BObject* object, const BValue& value);
	void slotFormComboItemClicked(BObject* object, const BValue& value);
	void slotAlignChanged(BObject* object, const BValue& value);
	void slotImageButtonClicked(BObject* object, const BValue& value);
	void slotImageArrowClicked(BObject* object, const BValue& value);
	void slotTextEditFinished(BObject* object, const BValue& value);
	void slotImageSizeEditFinished(BObject* object, const BValue& value);

private:
	BComboBox*		_formComboBox;
	BButton*		_alignButton;
	AlignWidget*	_alignWidget;
	BTextEdit*		_textEdit;
	BButton*		_imageButton;
	BLongSpinBox*	_imageWidthSpinBox;
	BLongSpinBox*	_imageHeightSpinBox;

	BLabel*			_label;
};

#endif
